package com.lzy.managersystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lzy.managersystem.pojo.Article;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lzy
 * @description 针对表【article】的数据库操作Mapper
 * @createDate 2022-07-24 15:51:45
 * @Entity com.lzy.managersystem.pojo.Article
 */
public interface ArticleMapper extends BaseMapper<Article> {

    //查询所有菜单

    List<Article> selectAll();

    //插入菜单

    int insertSelective(Article article);


    //根据id删除菜单
    int delById(@Param("id") Integer id);

    //更新菜单

    int updateSelective(Article article);

}




